package com.ruoyi.dl.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 游戏段位对象 dl_game_grade
 *
 * @author wangshouli
 * @date 2021-01-04
 */
public class DlGameGrade extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 游戏id
     */
    @Excel(name = "游戏id")
    private Integer gameId;
    /**
     * 代练类型（0：排位赛，1：巅峰赛，2：荣耀战力，3：赏金自定义发布）
     */
    @Excel(name = "代练类型（0：排位赛，1：巅峰赛，2：荣耀战力，3：赏金自定义发布）")
    private Integer trainType;

    /**
     * 段位分段描述
     */
    @Excel(name = "段位分段描述")
    private String title;



    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal moneyVal;

    private DlRecreation dlRecreation;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setGameId(Integer gameId) {
        this.gameId = gameId;
    }

    public Integer getGameId() {
        return gameId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setMoneyVal(BigDecimal moneyVal) {
        this.moneyVal = moneyVal;
    }

    public BigDecimal getMoneyVal() {
        return moneyVal;
    }

    public DlRecreation getDlRecreation() {
        return dlRecreation;
    }

    public DlGameGrade setDlRecreation(DlRecreation dlRecreation) {
        this.dlRecreation = dlRecreation;
        return this;
    }

    public Integer getTrainType() {
        return trainType;
    }

    public void setTrainType(Integer trainType) {
        this.trainType = trainType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("gameId", getGameId())
                .append("title", getTitle())
                .append("moneyVal", getMoneyVal())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("dlRecreation", getDlRecreation())
                .toString();
    }
}
